$f: 19.2;

.home {
  position: relative;
  width: 100%;
  overflow: hidden;

  .cbg {
    position: absolute;
    left: 0;
    top: 978/$f+vw;
    z-index: -1;
    img {
      width: 208/$f+vw;
      display: block;
    }
  }

  .cbg2{
    right: 0;
    top: 1080/$f+vw;
    position: absolute;
    img{
      position: relative;
      left: 50/$f+vw;
      top: 0;
      width: 614/$f+vw;
    }
  }

  img{
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
  }

  .section1{
    padding: 226/$f+vw 200/$f+vw 59/$f+vw 200/$f+vw;
    .title{
      color: #203D3B;
      font-size: 80/$f+vw;
      font-style: normal;
      font-weight: 500;
      margin: 0 0 79/$f+vw;
    }
    .content{
      display: flex;
      justify-content: space-between;
      .l{
        width: 553/$f+vw;
        .headline{
          color: #518783;
          font-size: 24/$f+vw;
          font-style: normal;
          font-weight: 500;
          line-height: 40/$f+vw; /* 166.667% */
          margin: 0 0 12/$f+vw;
        }
        .message{
          margin: 0 0 70/$f+vw;
          .list{
            display: flex;
            &:not(:last-child) {
              margin: 0 0 15/$f+vw;
            }
            .img{
              width: 30/$f+vw;
              height: 30/$f+vw;
              display: flex;
              align-items: center;
              justify-content: center;
              margin: 0 20/$f+vw 0 0;
            }
            p{
              color: #333;
              font-size: 20/$f+vw;
              font-style: normal;
              font-weight: 400;
              line-height: 30/$f+vw; /* 150% */
              font-family: 'PINGFANG-MEDIUM';
            }
          }
        }
        .code{
          h1{
            color: #518783;
            font-size: 24/$f+vw;
            font-style: normal;
            font-weight: 500;
            margin: 0 0 22/$f+vw;
          }
          .dis{
            display: flex;
            .dis_list{
              text-align: center;
              &:not(:last-child) {
                margin: 0 51/$f+vw 0 0;
              }
              img{
                width: 120/$f+vw;
                height: 120/$f+vw;
                margin: 0 auto 5/$f+vw;
                transition: 1s;
                &:hover{
                  transform: scale(1.05);
                }
              }
              p{
                color: #333;
                font-size: 18/$f+vw;
                font-style: normal;
                font-weight: 400;
                line-height: normal;
                text-transform: capitalize;
                font-family: 'PINGFANG-MEDIUM';
              }
            }
          }
        }
      }
      .r{
        width: 917/$f+vw;
        height: 674/$f+vw;
        overflow: hidden;
        &:hover{
          #container{
            transform: scale(1.05);
          }
        }
        #container{
          width: 100%;
          height: 100%;
          transition: 1s;
          .amap-icon {
            width: 30px !important;
            height: 45px !important;
            img {
              width: 100%
            }
          }
        }
      }
    }
  }

  .section2{
    padding: 0 200/$f+vw 39/$f+vw 200/$f+vw;
    .title{
      color: #203D3B;
      font-size: 80/$f+vw;
      font-style: normal;
      font-weight: 500;
    }
    .content{
      margin: 80/$f+vw 0 0 0;
      .list{
        display: flex;
        &.Phone{
          .bor{
            input{
              padding: 0 15/$f+vw;
            }
          }
        }
        &.textarea{
          .bor{
            height: 160/$f+vw;
            textarea{
              width: 100%;
              height: 100%;
              background: transparent;
              border: none;
              font-size: 20/$f+vw;
              font-family: 'PINGFANG-MEDIUM';
              resize: none;
            }
          }
        }
        &:not(:last-child) {
          margin: 0 0 20/$f+vw;
        }
        p{
          margin: 20/$f+vw 10/$f+vw 0 0;
          color: #333;
          font-size: 18/$f+vw;
          font-style: normal;
          font-weight: 400;
          line-height: normal;
          text-transform: capitalize;
          font-family: 'PINGFANG-MEDIUM';
          min-width: 92/$f+vw;
        }
        .bor{
          width: 1000/$f+vw;
          height: 62/$f+vw;
          padding: 10/$f+vw 20/$f+vw;
          border-radius: 10/$f+vw;
          border: 1px solid rgba(0, 0, 0, 0.20);
          background: rgba(249, 249, 249, 0.90);
          display: flex;
          align-items: center;
          .txt{
            color: #333;
            font-size: 20/$f+vw;
            font-style: normal;
            font-weight: 400;
            position: relative;
            input{
              width: 50/$f+vw;
              padding: 0;
            }
            &:after{
              content: '';
              width: 1px;
              height: 24/$f+vw;
              background: #D8D8D8;
              right: -5/$f+vw;
              top: 50%;
              transform: translateY(-50%);
              position: absolute;
            }
          }
          input{
            padding: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            border: none;
            font-size: 20/$f+vw;
            font-family: 'PINGFANG-MEDIUM';

          }
        }
      }
      button{
        width: fit-content;
        padding: 0 68/$f+vw;
        height: 50/$f+vw;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 60/$f+vw 0 0 103/$f+vw;
        border-radius: 100/$f+vw;
        background: #2A746E;
        color: #FFF;
        font-size: 20/$f+vw;
        font-style: normal;
        font-weight: 500;
        text-transform: uppercase;
        border: none;
        cursor: pointer;
        transition: .6s ease;
        &:hover{
          background: #000;
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .cbg{
      img{
        width: 100px;
      }
    }

    .cbg2{
      img{
        width: 100px;
        top: 40vw;
      }
    }


    [aos]{
      transition-delay: unset!important;
    }


    .section1{
      padding: 50px 5% 30px 5%;
      .title{
        font-size: 24px;
        margin: 0 0 20px;
      }
      .content{
        flex-direction: column;
        .r{
          width: 100%;
          height: 250px;
          margin: 25px 0 0 0;
        }
        .l{
          width: 100%;
          .headline{
            font-size: 16px;
            line-height: 1.6;
            margin: 0 0 15px;
          }
          .message{
            .list{
              flex-direction: column;
              &:not(:last-child) {
                margin: 0 0 15px;
              }
              .img{
                width: 20px;
                height: 20px;
                margin: 0 0 5px;
              }
              p{
                font-size: 14px;
                line-height: 1.6;
              }
            }
          }
          .code{
            h1{
              font-size: 16px;
              line-height: 1.6;
              margin: 0 0 10px;
            }
            .dis{
              .dis_list{
                &:not(:last-child) {
                  margin: 0 15px 0 0;
                }
                img{
                  width: 80px;
                  height: auto;
                }
                p{
                  font-size: 14px;
                  margin: 5px 0 0 0;
                }
              }
            }
          }
        }
      }
    }

    .section2{
      padding: 30px 5%;
      .title{
        font-size: 24px;
      }
      .content{
        margin: 20px 0 0 0;
        .list{
          flex-direction: column;
          p{
            font-size: 14px;
            margin: 0 0 10px;
          }
         .bor{
           height: 40px;
           width: 100%;
           padding: 0 10px;
           .txt{
             font-size: 14px;
             input{
              width: 40px;
              padding: 0 !important;
             }
             &:after{
               width: 1px;
               height: 18px;
               right: -7px;
             }
           }
           input{
             font-size: 16px;
             padding: 0;
           }
         }
        }
        .list:nth-child(2){
          .bor{
            input{
              padding: 0 15px;
            }
          }
        }
        button{
          padding: 0 20px;
          border-radius: 30px;
          height: 39px;
          font-size: 13px;
          margin: 30px 0 0 0 ;
        }
      }
    }
  }
}